 <{extends file="<{$tempdir}>/public/admin.html"}> 
   <{block name=extendjs}>
<script type="text/javascript" language="javascript" src="<{$siteurl}>/templates/<{$tempdir}>/public/js/artdialog/plugins/iframeTools.js"></script>
 <{/block}>
 <{block name=controlname}>区域搜索关键字<{/block}>
 <{block name=bodylist}>
<div style="width:auto;overflow-x:hidden;overflow-y:auto">

      	<div class="search">


            <div class="search_content">

            	 <form method="post" name="form1" action="<{ofunc type=url link="/adminpage/area/module/searchkey"}>">

            	  <label>关键字内容：</label>
            	   <input type="text" name="searchvalue" value="<{$searchvalue}>"> 
            	   <select name="typeid">
            	   	  <option value="0">所有</option>
            	   	   <option value="1" <{if $typeid == 1}>selected<{/if}>>来源于区域</option>
            	   	    <option value="2" <{if $typeid == 2}>selected<{/if}>>来源于店铺</option>
            	   	     <option value="3" <{if $typeid == 3}>selected<{/if}>>用户搜索</option>
            	    </select>
            	    <input type="submit" value="确认查询" class="button">  <font color=red>以下数据全自动生成 来源:⒈区域-区域名⒉店铺-铺名/店铺地址⒊用户搜索-搜索结果大于0自动保存</font>
            	 </form>
            </div>

      	</div>



           <div class="tags">



          <div id="tagscontent">

            <div id="con_one_1">

              <div class="table_td" style="margin-top:10px;">

              <form method="post" action="" onsubmit="return remind();"  id="delform">

                  <table border="0" cellspacing="2" cellpadding="4" class="list" name="table" id="table" width="100%">

                    <thead>

                      <tr>

                        <th width="60px"><input type="checkbox" id="chkall" name="chkall" onclick="checkall()"></th>

                        <th align="center">关键字内容</th>
                         <th width="200px" align="center">搜索字符串</th>
                        <th align="center">来源</th>

                        

                        <th align="center">操作</th>

                      </tr>

                    </thead>

                     <tbody>

                   
                      <{foreach from=$list item=items}>
                      <tr class="s_out" onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="#ffffff">
                        <td align="center" ><input type="checkbox" name="id[]" value="<{$items['id']}>"></td>
                        <td align="center"> 
                        	   <{$items['datacontent']}>
                        </td>
                        <td width="200px" align="center"> <{$items['datacode']}> </td>
                        <td align="center"><{$typearr[$items['datatype']]}></td>
                        
                        <td align="center"> 
                        	  <a onclick="return remind(this);" href="<{ofunc type=url link="/adminpage/area/module/delsearch/dataintype/<{$items['datatype']}>/parent_id/<{$items['parent_id']}>/datatype/json"}>">删除</a></td>
                      </tr>
                       <{/foreach}>

                    </tbody>

                  </table>

                <div class="blank20"></div>

                 

                </form>

               <div class="page_newc">
                 	     <div class="select_page">
                 	     	<a href="#" onclick="checkword(true);">全选</a>/<a href="#" onclick="checkword(false);">取消</a>
                 	     <a onclick="return remind(this);" href="<{ofunc type=url link="/adminpage/area/module/clearsearch/datatype/json"}>" class="delurl">清空所有记录</a>
                 	     	</div>
                       <div class="show_page"><ul><{$pagecontent}></ul></div>
                 </div>

                <div class="blank20"></div>

              </div>

            </div>

          </div>

        </div>


  </div>
  
</div>
<!--newmain 结束-->
<{/block}>